﻿// -----------------------------------------------------------------------
// <copyright file="BusinessLogicException.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Helpers.ExceptionHandling.Exceptions
{
	using System;
	using System.Collections.Generic;
	using System.Text;

	/// <summary>
	/// Represents the exceptions that occurs at business logic.
	/// </summary>
	public class BusinessLogicException : BaseException
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="BusinessLogicException"/> class.
		/// </summary>
		/// <param name="message">Error message</param>
		public BusinessLogicException(string message)
			: base(message)
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="BusinessLogicException"/> class
		/// </summary>
		/// <param name="message">Error message</param>
		/// <param name="innerException">Inner exception</param>
		public BusinessLogicException(string message, Exception innerException)
			: base(message, innerException)
		{
		}
	}
}
